﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="TellingDataSet" targetNamespace="http://tempuri.org/TellingDataSet.xsd" xmlns:mstns="http://tempuri.org/TellingDataSet.xsd" xmlns="http://tempuri.org/TellingDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="MySettings" AppSettingsPropertyName="fairshopConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="fairshopConnectionString (MySettings)" PropertyReference="ApplicationSettings.FairShop.My.MySettings.GlobalReference.Default.fairshopConnectionString" Provider="System.Data.OleDb" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="LaatsteTellingTableAdapter" GeneratorDataComponentClassName="LaatsteTellingTableAdapter" Name="LaatsteTelling" UserDataComponentName="LaatsteTellingTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="fairshopConnectionString (MySettings)" DbObjectName="LaatsteTelling" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM `LaatsteTelling` WHERE ((`ID` = ?) AND ((? = 1 AND `Omschrijving` IS NULL) OR (`Omschrijving` = ?)) AND ((? = 1 AND `Waarde` IS NULL) OR (`Waarde` = ?)) AND ((? = 1 AND `Aantal` IS NULL) OR (`Aantal` = ?)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Omschrijving" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Omschrijving" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Omschrijving" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Omschrijving" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Waarde" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Waarde" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="Original_Waarde" Precision="0" ProviderType="Currency" Scale="0" Size="0" SourceColumn="Waarde" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Aantal" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Aantal" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Aantal" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Aantal" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO `LaatsteTelling` (`Omschrijving`, `Waarde`, `Aantal`) VALUES (?, ?, ?)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Omschrijving" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Omschrijving" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="Waarde" Precision="0" ProviderType="Currency" Scale="0" Size="0" SourceColumn="Waarde" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Aantal" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Aantal" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT ID, Omschrijving, Waarde, Aantal, Waarde*Aantal As Totaal FROM LaatsteTelling</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE `LaatsteTelling` SET `Omschrijving` = ?, `Waarde` = ?, `Aantal` = ? WHERE ((`ID` = ?) AND ((? = 1 AND `Omschrijving` IS NULL) OR (`Omschrijving` = ?)) AND ((? = 1 AND `Waarde` IS NULL) OR (`Waarde` = ?)) AND ((? = 1 AND `Aantal` IS NULL) OR (`Aantal` = ?)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Omschrijving" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Omschrijving" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="Waarde" Precision="0" ProviderType="Currency" Scale="0" Size="0" SourceColumn="Waarde" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Aantal" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Aantal" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Omschrijving" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Omschrijving" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Omschrijving" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Omschrijving" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Waarde" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Waarde" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="Original_Waarde" Precision="0" ProviderType="Currency" Scale="0" Size="0" SourceColumn="Waarde" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Aantal" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Aantal" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Aantal" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Aantal" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="Omschrijving" DataSetColumn="Omschrijving" />
              <Mapping SourceColumn="Waarde" DataSetColumn="Waarde" />
              <Mapping SourceColumn="Aantal" DataSetColumn="Aantal" />
              <Mapping SourceColumn="Totaal" DataSetColumn="Totaal" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="TellingDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="TellingDataSet" msprop:Generator_DataSetName="TellingDataSet" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="LaatsteTelling" msprop:Generator_UserTableName="LaatsteTelling" msprop:Generator_RowDeletedName="LaatsteTellingRowDeleted" msprop:Generator_RowChangedName="LaatsteTellingRowChanged" msprop:Generator_RowClassName="LaatsteTellingRow" msprop:Generator_RowChangingName="LaatsteTellingRowChanging" msprop:Generator_RowEvArgName="LaatsteTellingRowChangeEvent" msprop:Generator_RowEvHandlerName="LaatsteTellingRowChangeEventHandler" msprop:Generator_TableClassName="LaatsteTellingDataTable" msprop:Generator_TableVarName="tableLaatsteTelling" msprop:Generator_RowDeletingName="LaatsteTellingRowDeleting" msprop:Generator_TablePropName="LaatsteTelling">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInTable="IDColumn" type="xs:int" />
              <xs:element name="Omschrijving" msprop:Generator_UserColumnName="Omschrijving" msprop:Generator_ColumnPropNameInRow="Omschrijving" msprop:Generator_ColumnVarNameInTable="columnOmschrijving" msprop:Generator_ColumnPropNameInTable="OmschrijvingColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Waarde" msprop:Generator_UserColumnName="Waarde" msprop:Generator_ColumnPropNameInRow="Waarde" msprop:Generator_ColumnVarNameInTable="columnWaarde" msprop:Generator_ColumnPropNameInTable="WaardeColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="Aantal" msprop:Generator_UserColumnName="Aantal" msprop:Generator_ColumnPropNameInRow="Aantal" msprop:Generator_ColumnVarNameInTable="columnAantal" msprop:Generator_ColumnPropNameInTable="AantalColumn" type="xs:int" minOccurs="0" />
              <xs:element name="Totaal" msprop:Generator_UserColumnName="Totaal" msprop:Generator_ColumnVarNameInTable="columnTotaal" msprop:Generator_ColumnPropNameInRow="Totaal" msprop:Generator_ColumnPropNameInTable="TotaalColumn" type="xs:decimal" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:LaatsteTelling" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
  </xs:element>
</xs:schema>